package com.quicks.beauty.core.dao;

import com.github.pagehelper.Page;
import com.quicks.beauty.core.entity.BeautyProduct;
import com.quicks.beauty.core.entity.BeautyProductExample;
import java.util.List;

import com.quicks.beauty.core.vo.BeautyProductDetailVO;
import com.quicks.beauty.core.vo.BeautyProductVO;
import org.apache.ibatis.annotations.Param;

public interface BeautyProductMapper {
    int countByExample(BeautyProductExample example);

    int deleteByExample(BeautyProductExample example);

    int deleteByPrimaryKey(String id);

    int insert(BeautyProduct record);

    int insertSelective(BeautyProduct record);

    List<BeautyProduct> selectByExample(BeautyProductExample example);

    BeautyProduct selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BeautyProduct record, @Param("example") BeautyProductExample example);

    int updateByExample(@Param("record") BeautyProduct record, @Param("example") BeautyProductExample example);

    int updateByPrimaryKeySelective(BeautyProduct record);

    int updateByPrimaryKey(BeautyProduct record);

    Page<BeautyProductVO> getAllBeautyProdPager();

    BeautyProductDetailVO getProdItemDetailVo(@Param("prodId") String prodId);
}